mwan3: common.sh: fix sed syntax for GNU sed
authorFabian Groffen <[email protected]>
Tue, 2 Sep 2025 11:19:55 +0000 (13:19 +0200)
committerFlorian Eckert <[email protected]>
Wed, 3 Sep 2025 13:42:20 +0000 (15:42 +0200)
commitf933e028f502e9fc5c6bbf1176057253dd02a4e9
tree6d83bffca5141858b5e65d4bd8f124ae7e0a7add
parent16ada8307b0170bb4343ae7e163bd3dc9aa98b49
mwan3: common.sh: fix sed syntax for GNU sed

`pq' yields with GNU sed:
  sed: -e expression #1, char 15: extra characters after command
so, make q a separate command instead.

busybox accepts this too, and still returns only the first match (q
quits processing)

Signed-off-by: Fabian Groffen <[email protected]>
net/mwan3/files/lib/mwan3/common.sh